//
//  TopicListCell.h
//  BaseProject
//
//  Created by 王洋 on 2020/12/11.
//  Copyright © 2020 王洋. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "CommonPostModel.h"

NS_ASSUME_NONNULL_BEGIN

@interface TopicListCell : UITableViewCell

@property (weak, nonatomic) IBOutlet UILabel *mainTitleLab;

@property (weak, nonatomic) IBOutlet UILabel *contentLab;

@property (weak, nonatomic) IBOutlet UILabel *timeLab;



@property (weak, nonatomic) IBOutlet UIButton *evaBtn;

@property (weak, nonatomic) IBOutlet UIButton *thumbBtn;

@property (nonatomic, copy) void(^TopicListSectionHeaderBlock)(CommunityActionType type);


+(CGFloat)calculateHeight;

- (void)fillWithModel:(CommonPostModel *)model;

@end

NS_ASSUME_NONNULL_END
